package lesson07;

public class People {
    private String name;

    public People() {
    }
    public People(String name) {
        this.name = name;
    }

    public void intro(){
        System.out.println("我是"+name);
    }
    public void sayArea(){
        System.out.println("我来自地球");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
